#set( $symbol_pound = '#' ) 
#set( $symbol_dollar = '$' ) 
#set( $symbol_escape = '\' )
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:form>
	<p:menubar autoSubmenuDisplay="true">

		<p:submenu label="${symbol_pound}{msg['label.menu.cadastro']}">
			<p:menuitem value="${symbol_pound}{msg['autor.menu']}"
				outcome="/pages/protected/user/autor/autorList.xhtml" />
			<p:menuitem value="${symbol_pound}{msg['livro.menu']}"
				outcome="/pages/protected/user/livro/livroList.xhtml" />
		</p:submenu>

		<p:submenu label="${symbol_pound}{msg['label.menu.controleAcesso']}">
			<p:menuitem value="${symbol_pound}{msg['usuario.menu']}"
				outcome="/pages/protected/admin/usuario/usuarioList.xhtml" />
			<p:menuitem value="${symbol_pound}{msg['papel.menu']}"
				outcome="/pages/protected/admin/papel/papelList.xhtml" />
			<p:menuitem value="${symbol_pound}{msg['usuario.menu.mudarSenha']}"
				outcome="/pages/protected/mudarSenha.xhtml" />
		</p:submenu>
		
        <f:facet name="options">
			<p:commandButton value="${symbol_pound}{msg['botao.sair']}"
				action="${symbol_pound}{loginBean.logout}" />
		</f:facet>

	</p:menubar>
</h:form>

</html>